-- GENERATED SPELL FOR [Thistleshrub Dew Collector] --


function spell0_5481(pUnit, Event) --@Entangling Roots,n/a--
pUnit:FullCastSpellOnTarget(11922,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_5481', 16500, 1)
end

function Sorts_5481(pUnit, Event)
local choix_sorts_5481 = math.random(0, 0)
if choix_sorts_5481 == 0 then
pUnit:RegisterEvent('spell0_5481', 1, 1)
end
end

function mob5481_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_5481', math.random(1500, 3000), 1)
end

function mob5481_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob5481_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob5481_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(5481, 1, 'mob5481_Action')
RegisterUnitEvent(5481, 2, 'mob5481_Leave')
RegisterUnitEvent(5481, 3, 'mob5481_Kill')
RegisterUnitEvent(5481, 4, 'mob5481_Die')
